#ifndef _WINDOW_H_
#define _WINDOW_H_

#include "Engine.h"

class Window
{
public:
    Window();
    Window(int width, int height, std::string title);

    void createWindow(int width, int height, std::string title);

    void clear();
    void display();
    void quit();
    void update();

    bool running();

    sf::Event& getEvent();
    int getWidth();
    int getHeight();

protected:
    int         _width;
    int         _height;
    std::string _title;
    bool        _running;
    sf::Event   _event;

    sf::Window  _window;
};


#endif
